home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 06d.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.6 KB  |  60 lines

  1. on startMovie
  2.   global qtChan
  3.   sprite(13).visible = 0
  4.   puppetSprite(46, 1)
  5.   set the locH of sprite 46 to the mouseH
  6.   set the locV of sprite 46 to the mouseV
  7.   qtChan = 11
  8.   sprite(qtChan).volume = 256
  9.   preLoad(qtChan - 1)
  10.   set the mouseDownScript to EMPTY
  11.   set the mouseUpScript to EMPTY
  12. end
  13.  
  14. on idle
  15.   global gCursorReady
  16.   if gCursorReady = 1 then
  17.     cursor(200)
  18.     checkCursors()
  19.     set the locH of sprite 46 to the mouseH
  20.     set the locV of sprite 46 to the mouseV
  21.     updateStage()
  22.   end if
  23. end
  24.  
  25. on checkCursors
  26.   global gMagCursor
  27.   set the castNum of sprite 46 to the number of member "curs1"
  28.   if rollOver(5) then
  29.     set the castNum of sprite 46 to the number of member "hotCursor"
  30.   end if
  31.   if rollOver(6) then
  32.     set the castNum of sprite 46 to the number of member "hotCursor"
  33.   end if
  34.   if rollOver(7) then
  35.     set the castNum of sprite 46 to the number of member "hotCursor"
  36.   end if
  37.   if rollOver(8) then
  38.     set the castNum of sprite 46 to the number of member "curs1"
  39.   end if
  40.   if the castNum of sprite 10 and rollOver(10) then
  41.     set the castNum of sprite 46 to the number of member gMagCursor
  42.   end if
  43.   if the castNum of sprite 11 and rollOver(11) then
  44.     set the castNum of sprite 46 to the number of member "deMagCursor"
  45.   end if
  46.   repeat with i = 33 to 35
  47.     if rollOver(i) then
  48.       set the castNum of sprite 46 to the number of member "hotCursor"
  49.     end if
  50.   end repeat
  51.   if rollOver(37) then
  52.     set the castNum of sprite 46 to the number of member "hotCursor"
  53.   end if
  54.   repeat with i = 40 to 43
  55.     if rollOver(i) then
  56.       set the castNum of sprite 46 to the number of member "hotCursor"
  57.     end if
  58.   end repeat
  59. end
  60.